-- GENERATED SPELL FOR [Wooly Mammoth] --


function spell0_24614(pUnit, Event) --@Trample,Self--
pUnit:FullCastSpellOnTarget(15550,pUnit)
pUnit:RegisterEvent('Sorts_24614', 602, 1)
end

function Sorts_24614(pUnit, Event)
local choix_sorts_24614 = math.random(0, 0)
if choix_sorts_24614 == 0 then
pUnit:RegisterEvent('spell0_24614', 1, 1)
end
end

function mob24614_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24614', math.random(1500, 3000), 1)
end

function mob24614_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24614_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24614_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24614, 1, 'mob24614_Action')
RegisterUnitEvent(24614, 2, 'mob24614_Leave')
RegisterUnitEvent(24614, 3, 'mob24614_Kill')
RegisterUnitEvent(24614, 4, 'mob24614_Die')
